# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class SpiderCsdncourseItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass

class CourseItem(scrapy.Item):
    """CSDN课程详情信息"""
    title = scrapy.Field() # 课程标题
    hours = scrapy.Field() # 课时
    teacher = scrapy.Field() # 讲师
    crowd = scrapy.Field() # 适合人群
    stuNum = scrapy.Field() # 学习人数
    price = scrapy.Field() # 价格
    outline = scrapy.Field() # 课程大纲
